package com.myapp.config;

import com.gitee.fastmybatis.core.support.plugin.SqlFormatterPlugin;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class WebConfig {

    // SQL打印插件
    @Bean
    public SqlFormatterPlugin sqlFormatterPlugin() {
        return new SqlFormatterPlugin();
    }

}
